#ifndef AST_DECLARATIONS_PARAMETER_LIST_H
#define AST_DECLARATIONS_PARAMETER_LIST_H

#include "../ASTNode.h"
class ParameterDeclaration;

/*
C99   6.7.5
parameter-list:
		parameter-declaration
		parameter-list   ,   parameter-declaration
*/
class ParameterList : public ASTNode
{
protected:
	ParameterList(void)
		: ASTNode(ASTNode::parameter_list){};
public:
	ParameterList(ParameterDeclaration * pDecl, ParameterList *pParamList = NULL)
		: ASTNode(ASTNode::parameter_list)
		, m_pParamList(pParamList)
		, m_pDecl(pDecl){};


	virtual ~ParameterList(void);

	virtual void					codeGen();

protected:
	ParameterList *					m_pParamList;
	ParameterDeclaration *			m_pDecl;
};



#endif



